home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / Gnuplot.h < prev    next >
Encoding:
Text File  |  1993-03-18  |  1.8 KB  |  89 lines

  1.  
  2. /* $Id: Gnuplot.h,v 1.1.1.1 1993/03/18 03:33:22 davis Exp $ */
  3.  
  4. #import <objc/Object.h>
  5.  
  6. @interface Gnuplot:Object
  7. {
  8.     NXZone *zone;        /* Our zone                */
  9.  
  10.     id infoPanel;        /* Info Panel                */
  11.     id revisionTextField;    /* In infoPanel. Auto-updated by RCS    */
  12.     id copyingPanel;        /* Copyright Panel            */
  13.     id inspector;        /* Inspector Panel            */
  14.     id preferences;        /* Preferences object            */
  15.  
  16.     id stringSet;        /* Localization string table        */
  17.  
  18.     id docList;            /* List of documents currently open    */
  19.     id currentDoc;        /* Doc with most recent main window    */
  20.     int numUntitled;        /* # of Untitled docs created since launch */
  21.  
  22.     BOOL isPoweringOff;        /* Is user powering off or logging out?    */
  23. }
  24.  
  25. #define DOCUMENT_TYPE    "gnuplot"
  26.  
  27.  
  28.  
  29. /** Class methods for handling app-wide preferences **/
  30.  
  31. + setConstantUpdate:(int)updateType;
  32. + setHalvePlot:(BOOL)condition;
  33. + setAddDataToCurrentEnabled:(BOOL) aBool;
  34. + setAddDataToNewEnabled:(BOOL) aBool;
  35.  
  36.  
  37. - init;
  38.  
  39. - stringSet;                /* Returns the app's string set    */
  40.  
  41.  
  42.  
  43. /** Target/Action **/
  44.  
  45. - showInfoPanel:sender;
  46. - showCopyingPanel:sender;
  47. - showPreferencesPanel:sender;
  48. - showInspectorPane:sender;
  49. - new:sender;
  50. - open:sender;
  51. - saveAll:sender;
  52.  
  53. - updateApp;            /* Updates panels that reflect current doc */
  54.  
  55.  
  56.  
  57. /** Interacting With Documents **/
  58.  
  59. - docDidClose:sender;
  60. - isDocOpen: (const char *) fullPath;
  61. - (int)numberNew;            /* Returns numUntitled        */
  62. - setCurrentDoc:aDoc;
  63.  
  64.  
  65.  
  66. /** Menu Auto-Update Methods **/
  67.  
  68. - (BOOL)menuItemUpdate:menuCell;
  69. - (BOOL)validateCommand:menuCell;
  70.  
  71.  
  72.  
  73. /** Application delegate **/
  74.  
  75. - (int)app:sender openFile:(const char *)path type:(const char *)type;
  76. - (BOOL)appAcceptsAnotherFile:sender;
  77.  
  78.  
  79.  
  80. /** 
  81.  ** Services.  These messages are sent when a user chooses one of our 
  82.  ** items from the services menu.
  83.  **/
  84.  
  85. - plotData:pb userData:(const char *)userData error:(char **)errorMessage;
  86.  
  87.  
  88.  @end
  89.